<template>
  <div>
    <!-- 封装el-button -->
    <a :title="title">
      <el-button v-bind="$attrs" v-on="$listeners"></el-button>
    </a>
  </div>
</template>

<script>
export default {
  name: "NewButton",
  props: ["title"],
  mounted(){
    console.log(this.$listeners);
    this.$emit('hover')
  }
};
</script>

<style>
</style>